Skip to main content
Feedback

Process Call step

The Process Call step enables you to execute another process from within a process. The subprocess that is called is considered a separate, distinct process execution.

Process Call icon

note

The process that calls another process is sometimes referred to as a parent or main process. The process that the parent process calls is sometimes referred to as a subprocess or a child process.

You can use the Process Call step to design and reuse common processes for tasks such as initialization or clean up. You can also use this step to coordinate processes for consecutive executions. Using a process call and subprocesses is a simple and reliable way to coordinate the execution of processes without the need to schedule each process independently. The Process Call step can be configured to wait until that process is complete before continuing with its next step.

note

If a subprocess contains multiple Return Document steps, the paths in the parent process are executed according to the order in which the Return Document steps are configured in the subprocess.

If you want to use process extensions in a process that uses the Process Call step, keep the following in mind:

  • Extensions that you define in the parent process are applied to both the parent process and any subprocesses.

  • Extensions that you define in a subprocess are not applied during execution of the parent process.

For example, if you use the same Connector component in the parent process and one of the subprocesses, you need to define the extension only once in the parent process.

Subprocess types

The subprocess that a Process Call step executes can be defined as a passthrough process (Data Passthrough is selected in its Start step dialog) or a non-passthrough process. The subprocess type affects how documents are handled and how the process execution is recorded.

Passthrough process
If Data Passthrough is enabled in the subprocess:

  • Documents are passed from the parent process into the subprocess.

  • You can use one or more Return Documents steps in the subprocess to return documents to the parent process, if needed.

  • The parent process passes any documents that reach the Process Call step as a group and calls one instance of the subprocess.

  • Process Reporting includes information about each subprocess as a step within the parent's process log. There are no separate execution records or logs for the subprocesses.

Non-passthrough process
If Data Passthrough is not enabled in the subprocess:

  • Documents are not passed into the subprocess.

  • The parent process calls a new instance of the subprocess for each document that reaches the Process Call step.
    If the parent process is executing multiple documents when they reach the Process Call step, the subprocess is executed multiple times. If you want the subprocess to execute only once, add a Data Process step with a Combine Documents process type right before the Process Call step.

  • If the Start step in the subprocess is configured with a connector type that accepts parameters, you can set any parameter values from the Process Call step in the parent process. If you set parameters in the Process Call step, any parameters defined in the subprocess are ignored. If you do not want to override the subprocess parameters, do not set any parameters in the Process Call step.

  • Process Reporting contains a separate execution record and process log for each subprocess. The execution records can be identified by the Sub Process icon.

Process Call step procedure

  1. Add the Process Call step to the process to open the dialog.

  2. Enter the display name to describe the step. If you do not enter the name, no label appears on the step.

  3. Select the process that you want to call.

  4. Wait for the process to complete.

    • If selected, the parent process waits for the subprocess to complete before continuing to its next step. If the subprocess fails, the parent process stops.
    • If cleared, and if Abort if process fails is selected, the parent process reports the subprocess’ error after all subprocesses have executed. If the process being called is a passthrough process (Data Passthrough is selected in its Start step dialog), this check box cannot be turned off.
  5. Abort if subprocess fails. If selected, the parent process stops and is marked as failed if the subprocess fails.

Process Call step example

A great way to use the Process Call step is to coordinate the execution of multiple processes, especially if a process should not execute until one or more prior processes have completed. This is an alternative to carefully scheduling each individual process and allowing enough time for execution.

Using the "Wait for process to complete" option guarantees that the first process will finish completely before the next process begins.

There are two basic ways to implement the strategy: either add Process Call steps to the first process in the series or create another "primary" process that simply reads in an arbitrary "seed file" that is used to pass through the process to execute each Process Call step. With either approach you only need to set a schedule on the first or "primary" process.

Process using Process Call steps

On this Page